home *** CD-ROM | disk | FTP | other *** search
/ US Army & World War 2 Set 2 / US Army & World War 2 Set 2 - Disc 1.iso / pc / Reader / AcroRd32.exe / EXVW / 10053 < prev    next >
Text File  |  2001-09-24  |  1KB  |  40 lines

  1. gMaxWidth=max(
  2.     zstring_width(zstring: '$$$/Dialogs/Identity/UserName'),
  3.     zstring_width(zstring: '$$$/Dialogs/Identity/Name'),
  4.     zstring_width(zstring: '$$$/Dialogs/Identity/Corporation'),
  5.     zstring_width(zstring: '$$$/Dialogs/Identity/EMail'));
  6.  
  7. dialog(name: '$$$/Dialogs/Identity', target_id: 'Name', margin_height: 0, margin_width: 0)
  8. {
  9.     cluster(name: '$$$/Dialogs/Identity/Group', dheight: gPrefsPanelHeight, dwidth: gPrefsPanelWidth)
  10.     {
  11.         view(align_children: align_row)
  12.         {
  13.             static_text(name: '$$$/Dialogs/Identity/UserName', width : gMaxWidth, alignment: align_right);
  14.             static_text(item_id: 'UNam', width: max_char_width() * 20);
  15.         }
  16.  
  17.         view(align_children: align_row)
  18.         {
  19.             static_text(name: '$$$/Dialogs/Identity/Name', width : gMaxWidth, alignment: align_right);
  20.             edit_text(item_id: 'Name', width: max_char_width() * 20);
  21.         }
  22.  
  23.         view(align_children: align_row)
  24.         {
  25.             static_text(name: '$$$/Dialogs/Identity/Corporation', width : gMaxWidth, alignment: align_right);
  26.             edit_text(item_id: 'Corp', width: max_char_width() * 20);
  27.         }
  28.  
  29.         view(align_children: align_row)
  30.         {
  31.             static_text(name: '$$$/Dialogs/Identity/EMail', width : gMaxWidth, alignment: align_right);
  32.             edit_text(item_id: 'Mail', width: max_char_width() * 20);
  33.         }
  34.  
  35.         view(alignment: align_fill, align_children: align_fill)
  36.         {
  37.             static_text(item_id: 'Hint', height: gStaticTextHeight * 2, dwidth: gPrefsPanelWidth-40, alignment: align_left);
  38.         }
  39.     }
  40. }